.z-table {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: #ffffff;

  &__search-actions {
    padding-top: 3px;
    margin-left: 10px;
  }

  &__search-action {
    padding: 7px 26px;
    border-radius: 6px;
  }
  &__container {
    flex: 1;
    height: 0;
    overflow: auto;
  }

  &__body {
    font-size: 14px;
  }

  &__page {
    height: var(--z-table__page-h, 56px);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2px 0;
    //margin: 0 auto;
    .el-pagination {
      display: inline-block;
      &.is-background .el-pager li:not(.disabled).active {
        //background-color: #7048e8;
        background-color: var(--z-table-pager-li-active-bg-color, var(--el-color-primary));
        color: #fff;
      }
    }
  }
  &__toolbar {
    display: flex;
    // padding-left: 10px;
    justify-content: space-between;
    margin-top: 8px;
    margin-bottom: 8px;
    // margin-bottom: 14px;
  }

  &__buttons {
    display: flex;
    margin: auto 0;
    .el-dropdown {
      width: auto;
      margin: 0 10px;
    }
  }

  &__actionbutton {
    font-size: 14px;
  }

  &__search {
    display: flex;
    align-items: center;
    width: 600px;
    max-width: 100%;
  }

  &__searchbtn {
    min-width: 40px;
    margin-left: 10px;
    .el-button {
      height: 30px;
    }
  }

  &__simpleform {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    // width: 600px;
    max-width: 600px;
    height: auto;
    .el-form-item__content {
      overflow: hidden;
    }
    .el-form-item--small.el-form-item {
      margin-bottom: 0;
    }
  }

  &__link {
    max-width: 100%;
    font-size: 14px;
    .el-link--inner {
      max-width: 100%;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      cursor: pointer;
    }
  }

  .el-table {
    border: 0;
    //border-top: 1px solid #ebeef5;
    &::after {
      background-color: transparent;
    }
  }

  .el-table--border .el-table__cell:not(.default-column) {
    border-right: none;
  }

  .el-table__header {
    border-top: 1px solid #eee;
    //tr {
    //  background-color: #FBFBFB;
    //}
    th.el-table__cell {
      //background-color: transparent;
      //border-color: transparent;
    }
    th {
      padding-top: 10px;
      padding-bottom: 10px;
      font-weight: 500;
      color: #242424;
      font-size: var(--z-table-header-fz, 16px);
      &:last-child {
        //border-right: none;
      }
    }
  }

  .el-table__row {
    td {
      padding-top: 8px;
      padding-bottom: 8px;
      color: #242424;
      font-size: 14px;
      //&:last-child {
      //  border-right: 0;
      //}
    }
  }

  .el-table__fixed-header-wrapper {
    th:last-child {
      //border-right: 0;
    }
  }

  .el-table__row .cell > div {
    width: 92%;
  }

  .el-table__row .cell > div.el-table__expand-icon {
    width: 4%;
  }

  // .zj-table__actioncolumn {
  //   border-right: 0 solid #ebeef5;
  // }
  // .el-table__body-wrapper {
  //   border-right: 0 solid #ebeef5;
  // }

  .zj-table .el-table__row &__actioncolumn {
    border-right: 0 solid #ebeef5;

    .el-button {
      padding-top: 0;
      padding-bottom: 0;
      font-size: 14px;
    }
    .el-dropdown {
      width: auto;
      margin-left: 10px;
    }
  }

  &__column--required {
    .cell::before {
      margin-right: 4px;
      color: var(--z-table-column-required-color, var(--el-color-danger));
      content: "*";
    }
  }

  .el-pagination.is-background .btn-next, .el-pagination.is-background .btn-prev, .el-pagination.is-background .el-pager li:not(.active) {
    background: linear-gradient(0deg, #F0F0F0, rgba(240, 240, 240, 0));
    border: 1px solid #DDDDDD;
    box-shadow: 0 1px 1px 0 #FFFFFF;
  }

}
